<!DOCTYPE html>
<html>

<body>
<include file="public/menu"/>

<div class="main_container" id="trains_page">
<div class="row-fluid">
<h2 class="heading" align="center">培训订单管理</h2>
          <div class="widget widget-padding span12">
            <div class="widget-header">
              <i class="icon-group"></i>
              <h5>培训订单列表</h5>
              <div class="widget-buttons">
                  <a href="http://www.datatables.net/usage/" data-title="Documentation" class="tip" target="_blank"><i class="icon-external-link"></i></a>
                  <a href="#" data-title="Collapse" data-collapsed="false" class="tip collapse"><i class="icon-chevron-up"></i></a>
              </div>
            </div>  
            <div class="widget-body">
              <table id="trains" class="table table-striped table-bordered dataTable">
                <thead>
                 <tr>
         <th>培训编号</th>       
         <th>培训订单号</th>
         <th>培训名</th>
         <th>购买日期</th>
         <th>购买数量</th>
         <th>培训价格</th>
         <th>支付状态</th>
         <th>用户姓名</th>
         <th>用户手机</th>
         <th>操作</th>
         </tr>
                </thead>

                <tbody>
                  <volist name="order" id="vo">
          <tr>
          <td>{$vo.order_sid}</td>
          <td>{$vo.order_orderid}</td>
          <td>{$vo.tr_name}</td>
          <td width="300" style="text-align:center;vertical-align:middle;">{$vo.order_date}</td>
          <td>{$vo.order_amount}</td>
          <td>{$vo.tr_price}</td>
          <td><if condition="$vo.order_status eq '0'">微信支付</if><else>支付宝支付</if></td>
          <td>{$vo.user_name}</td>
          <td>{$vo.order_phonenumber}</td>
                <td>
                    <div >
                        <a href="__URL__/deltrainorder/id/{$vo.order_id}" onclick="return confirm('你确定要删除吗？')"><i class="icon-remove"></i>删除</a>
                        </ul>
                    </div>
                </td>                              
      </tr>
      </volist>
                </tbody>
              </table>
              <div class="form-group">
            </div> <!-- /widget-body -->
          </div> <!-- /widget -->
        </div> <!-- /row-fluid -->
      </div><!-- main_container -->

<!-- this is userlist -->


</body>
</html>